﻿// Copyright © Microsoft Corporation.  All Rights Reserved.
// This code released under the terms of the 
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)

using System.Windows;
using Microsoft.Phone.Controls;

namespace FeatureOverview.Features.Media
{
    public partial class EmbeddedVideo : PhoneApplicationPage
    {
        public EmbeddedVideo()
        {
            InitializeComponent();
        }

        private void _play_Click(object sender, RoutedEventArgs e)
        {
            _video.Play();
        }

        private void _pause_Click(object sender, RoutedEventArgs e)
        {
            _video.Pause();
        }

        private void _stop_Click(object sender, RoutedEventArgs e)
        {
            _video.Stop();
        }
    }
}